package com.evanp.centre.user.model.bo;

import com.evanp.centre.user.model.po.Address;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class UserRegisterBo {
    public UserBo userBo;
    public TtiBo ttiBo;

    public UserRegisterBo(UserBo userBo, TtiBo ttiBo, Address address) {
        this.userBo = userBo;
        this.ttiBo = ttiBo;
        this.address = address;
        this.address.setUid(userBo.getUid());
    }

    public Address address;
}
